package cn.czh0123.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("message_board")
public class MessageBoard extends BasicDomain {
    private Long userId;
    private Long parentId = 0L;
    private String content;
    private Date postTime;

    @TableField(exist = false)
    private String userName;
}